//
//  FoodComponentModel.m
//  ArtOfLiving
//
//  Created by xalo on 16/5/1.
//  Copyright © 2016年 刘虎. All rights reserved.
//

#import "FoodComponentModel.h"

@implementation FoodComponentModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"ingredient"]) {
     
        [self.ingredientDic setValuesForKeysWithDictionary:value];
    }
}

- (FoodNoticeModel *)ingredientDic {
    
    if (!_ingredientDic) {
        
        _ingredientDic = [[FoodNoticeModel alloc] init];
    }
    return _ingredientDic;
}

@end
